package net.oschina.app.adapter.move;

import android.content.Context;
import android.view.ViewGroup;

import net.oschina.app.base.BaseHolder;
import net.oschina.app.base.MyBaseAdapter;
import net.oschina.app.bean2.MoveCommentBean;
import net.oschina.app.holder.MoveDetailHolder;

import java.util.List;

/**
 * Created by Vashon on 2017/1/13.
 */
public class MoveDetailAdapter extends MyBaseAdapter<MoveCommentBean.CommentBean> {

    public MoveDetailAdapter(Context context, List<MoveCommentBean.CommentBean> listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder<MoveCommentBean.CommentBean> createViewHolder(Context context, ViewGroup parent, MoveCommentBean.CommentBean bean, int position) {
        return new MoveDetailHolder(context, parent, this, position, bean);
    }
}
